<template>
  <div id="hou">
    <ul>
      <li v-for="aa in bb" :key="aa.id">
        {{ aa.name }}
      </li>
      <button @click="cc">扎瓦鲁</button>
    </ul>
  </div>
</template>

<script>
export default {
  data() {
    return {
      bb: [
        { name: '甘雨', id: 1 },
        { name: '胡桃', id: 2 },
        { name: '刻晴', id: 3 },
      ],
    };
  },
  methods:{
    cc(){
      this.bb.reverse()
    }
  }
};
</script>

<style>
</style>
